import { combineReducers } from 'redux'
import { routerReducer as routing } from 'react-router-redux'

// 用户
import list from './modules/list'
import user from './modules/user'
import news from './modules/news'

const rootReducer = combineReducers({
  list,
  user,
  news,
  //routing，这个Key值不能变，在redux-simple-router.syncHistory(history).listenForReplays(store)会用到
  routing
})

export default rootReducer
